
@import '@/styles/theme.less';
.create-peer {
    .ant-select-selection__placeholder, .ant-select-search__field__placeholder.ant-select-selection__placeholder{
        font-weight: 400 !important
    }

   .wrapper{
    border-radius: 4px;
    border: 1px solid #E7E9EA;
    background-color: #ffffff;
    width: 100%;
    margin-top: 30px;
   }
    .ant-form-item{
        margin-bottom: 0
    }
    .close {
        cursor: pointer;
        width: 16px;
        margin-left: 23px;
        margin-top: 20px;
        height: 16px;
        display: inline-block;
        background-color: #b7c0cb;
        border-radius: 50%;
        text-align: center;
        line-height: 16px;
        font-size: 12px;
        color: #fff;
    }
    .create-wrapper {
        padding: 48px 0px 48px 48px;
        .title {
            display: flex;
            align-items: center;
            font-family: PingFang-SC;
            font-size: 12px;
            font-weight: 400;
            color: #0F151D;
        }
        .input-wrap{
            margin-top: 12px;
            
        }
        .peer-desc {
            margin-top: 16px;
            font-family: PingFang-SC;
            font-size: 12px;
            padding-bottom: 8px;
            font-weight: 400;
            color: rgba(15,21,29,0.2);
        }
        .error{
            color: #f5222d;
            font-size: 12px;
            position: absolute;
            margin-top: 2px;
        }
        .organization-wrapper {
            .desc{
                width: 312px;
                height: 36px;
                border-radius: 4px;
                border: solid 1px #E7E9EA;
                background-color: #f6f7fb;
                line-height: 36px;
                padding: 0 13px;
                font-family: PingFang-SC;
                font-size: 12px;
                font-weight:400;
                color:rgba(17,46,84,1);
            }
            .wrapper-input {
               display: flex;
               align-items: center;
               margin-bottom: 24px;
               .organization-name{
                   width: 78px;
                   font-size:12px;
                   font-family:PingFangSC-Regular,PingFang SC;
                   font-weight:400;
                   color:#0F151D;
               }
               &:last-of-type{
                   margin-bottom: 32px
               }
            }
            .channel-input {
                position: relative;
                margin-top: 40px;
                padding-bottom:100px;
                .organization-input {
                    width: 186px;
                    height: 32px;
                    margin-left: 60px;
                }
                .tip {
                    position: absolute;
                    top: 35px;
                    color: #f5222d;
                    left: 176px;
                    font-size: 12px;
                }
            }
            .wrapper-peer {
                margin-top: 28px;
                .peer {
                    margin-left: 18px;
                    font-size: 12px;
                    color: #152935;
                }
            }
            .add-organization {
                margin-top: 28px;
                .add-name {
                    margin-left: 40px;
                    font-size: 12px;
                    color: #888888;
                }
            }
            .chaincode-mark {
                margin-top: 28px;
                .mark {
                    display: inline-block;
                    width: 120px;
                    margin-left: 40px;
                    font-size: 12px;
                    color: #888888;
                }

            }
        }

        .check-result{
            margin-top: 12px;
            .test-peer{
                font-size: 12px;
                color: #49b116;
                line-height: 34px;
                display: inline-block;
                white-space: nowrap;
            }
            .test-peer-init{
                // color:#4285f4;
                color: #0F151D;
                opacity: 0.3;
                font-size: 12px;
                font-weight: 400;
            }
            .test-peer-default{
                color: #0F151D;
                opacity: 0.3;
                font-size: 12px;
                font-weight: 400;
            }
            .test-peer-error{
                color: #f5222a;;
                font-size: 12px;
                font-weight: 400;
            }
            .test-peer-success{
                color: #52c41a;;
                font-size: 12px;
                font-weight: 400;
            }
        }
        .ant-select-arrow{
            margin-top: -5px
        }
          .triangle{
              height:0px;
              width:0px;
              border-top:5px solid rgba(20,61,108,0.6);
              border-left:5px solid transparent;
              border-right:5px solid transparent;
              transition: all .3s;
          }
          .ant-select-open{
              .triangle{
                  transform: rotate(-180deg);
              }
          }
            .icon-plus {
                margin-top: 23px;
                font-family: PingFang-SC;
                font-size: 12px;
                font-weight: 400;
                color: rgba(15,21,29,0.4);
                span {
                    display: inline-block;
                    margin-right: 12px;
                    cursor: pointer;
                    color: @primary-color;
                }
            }
    }
    .form-wrapper{
        padding: 23px 24px 23px 13px;
        background: #f6f7fb;
    }
    .triangle{
        height:0px;
        width:0px;
        display: inline-block;
        opacity: .6;
        border-top:5px solid @primary-color;
        border-left:5px solid transparent;
        border-right:5px solid transparent;
        transition: all .3s;
        vertical-align: middle;
    }
    .ant-select{
        font-size:12px;
        font-family:PingFangSC-Regular,PingFang SC;
        font-weight:400;
        color:#0F151D;
        border:1px solid #E7E9EA;
        height: 36px;
        border-radius: 4px;
    }
    .ant-select-dropdown{
        box-shadow:0px 2px 5px 1px rgba(0,0,0,0.15);
    }
    .ant-select-focused .ant-select-selection, .ant-select-selection:focus, .ant-select-selection:active {
        border-color: @primary-color;
        border-right-width: 1px !important;
        outline: 0;
        box-shadow: 0 0 0 1px @primary-color;
    }
    .ant-select-dropdown-menu {
        max-height: 196px;
        padding: 8px 0;
        .ant-select-dropdown-menu-item {
            padding: 8px 16px;
            color: rgba(0, 0, 0, 0.65);
            font-weight:400;
            color:#0F151D;
            font-size: 12px;
            line-height: 20px;
        }
        .ant-select-dropdown-menu-item-selected {
            background-color: #F1F6FE !important;
        }
        .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled) {
            background-color: #F1F6FE;
        }
    }
    .ant-empty{
        .ant-empty-image{
            margin-bottom: 16px;
            svg{
                height: 0;
            }
            &:after{
                content: url('../../../../../../images/overview/emptySmall.svg');
                height: 35px;
                position: absolute;
                left: 50%;
                top: 30%;
                transform: translate(-50%, -50%);
            }
        }
        .ant-empty-description{
            font-size:12px;
            font-family:PingFangSC-Regular,PingFang SC;
            font-weight:400;
            color:rgba(15,21,29,0.4);
            line-height:20px;
        }
    }
    .ant-select-arrow{
       right: 16px;
    }

    .select-channel{
        display: inline-block;
        margin-right: 8px;
        font-size:12px;
        font-family:PingFangSC-Regular,PingFang SC;
        font-weight:400;
        opacity: .6;
        color:@primary-color;
        vertical-align: middle;
    }
    .ant-select-open{
        .triangle{
            transform: rotate(-180deg);
        }
    }
    .ant-select-selection--single{
        height: 34px;
    }
    .ant-select-selection__rendered{
        line-height: 36px;
        margin-left: 13px;
        margin-right: 13px;
    }
    .ant-select-selection{
        border:none
    }
    .ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled) {
        background-color: #F1F6FE;
    }
    .ant-form-item-control{
        line-height: normal;
    }
}

